home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Minami 56
/
MINAMI56.ISO
/
Extra
/
winamp505_full.exe
/
$R0
/
Winamp Modern
/
notifications_fade_times.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-07-01
|
2KB
|
70 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Group Group2;
Global Text Text3;
Global Text Text4;
Global Text Text5;
Global Slider Slider6;
Global Slider Slider7;
Global Slider Slider8;
System.onScriptLoaded()
{
Int Int15;
Group2 = System.getScriptGroup();
Slider6 = Group2.findObject(( "snotifier_fadeintime"));
Slider7 = Group2.findObject(( "snotifier_fadeouttime"));
Slider8 = Group2.findObject(( "snotifier_holdtime"));
Text3 = Group2.findObject(( "tnotifier_fadeintime"));
Text4 = Group2.findObject(( "tnotifier_fadeouttime"));
Text5 = Group2.findObject(( "tnotifier_holdtime"));
Slider6.onSetPosition(Slider6.getPosition());
Slider7.onSetPosition(Slider7.getPosition());
Slider8.onSetPosition(Slider8.getPosition());
Int15 = System.isTransparencyAvailable();
Slider6.setEnabled(Int15);
Slider7.setEnabled(Int15);
Text3.setEnabled(Int15);
Text4.setEnabled(Int15);
Group2.findObject(( "snotifier_fadein_shadow")).setEnabled(Int15);
Group2.findObject(( "snotifier_fadeout_shadow")).setEnabled(Int15);
Group2.findObject(( "snotifier_fadein_text")).setEnabled(Int15);
Group2.findObject(( "snotifier_fadeout_text")).setEnabled(Int15);
return Null;
}
Slider6.onSetPosition(int newpos)
{
Float Float22;
String String24;
Float22 = ( newpos / 1000);
String24 = System.floatToString(Float22, 1);
Text3.setText(( String24 + ( "s")));
return Null;
}
Slider7.onSetPosition(int newpos)
{
Float Float27;
String String28;
Float27 = ( newpos / 1000);
String28 = System.floatToString(Float27, 1);
Text4.setText(( String28 + ( "s")));
return Null;
}
Slider8.onSetPosition(int newpos)
{
Float Float30;
String String31;
Float30 = ( newpos / 1000);
String31 = System.floatToString(Float30, 1);
Text5.setText(( String31 + ( "s")));
return Null;
}